/**
 * 
 */
package org.jftstool.config;

/**
 * @author grupo JFTS
 *
 */
public class LanguageDetectorConfig {
	private int maxLanguages;
	private int numCharsToExamine;
	private int useTopmostNgrams;
	private float unknownThreshold;
	private String languageModelsDir;
	private int bufferSize;
	private String defaultEncode;
	private String unknownLanguage;
	
	
	public LanguageDetectorConfig(){
		maxLanguages = 0;
		numCharsToExamine = 0;
		useTopmostNgrams = 0;
		unknownThreshold = 0.0f;
		languageModelsDir = "";
		bufferSize = 0;
		defaultEncode = "";
		unknownLanguage = "";
	}
	
	
	public LanguageDetectorConfig(int maxLanguages, int numCharsToExamine,
			int useTopmostNgrams, float unknownThreshold,
			String languageModelsDir, int bufferSize, String defaultEncode,
			String unknownLanguage) {
		super();
		this.maxLanguages = maxLanguages;
		this.numCharsToExamine = numCharsToExamine;
		this.useTopmostNgrams = useTopmostNgrams;
		this.unknownThreshold = unknownThreshold;
		this.languageModelsDir = languageModelsDir;
		this.bufferSize = bufferSize;
		this.defaultEncode = defaultEncode;
		this.unknownLanguage = unknownLanguage;
	}
	
	
	public int getMaxLanguages() {
		return maxLanguages;
	}
	public void setMaxLanguages(int maxLanguages) {
		this.maxLanguages = maxLanguages;
	}
	public int getNumCharsToExamine() {
		return numCharsToExamine;
	}
	public void setNumCharsToExamine(int numCharsToExamine) {
		this.numCharsToExamine = numCharsToExamine;
	}
	public int getUseTopmostNgrams() {
		return useTopmostNgrams;
	}
	public void setUseTopmostNgrams(int useTopmostNgrams) {
		this.useTopmostNgrams = useTopmostNgrams;
	}
	public float getUnknownThreshold() {
		return unknownThreshold;
	}
	public void setUnknownThreshold(float unknownThreshold) {
		this.unknownThreshold = unknownThreshold;
	}
	public String getLanguageModelsDir() {
		return languageModelsDir;
	}
	public void setLanguageModelsDir(String languageModelsDir) {
		this.languageModelsDir = languageModelsDir;
	}
	public int getBufferSize() {
		return bufferSize;
	}
	public void setBufferSize(int bufferSize) {
		this.bufferSize = bufferSize;
	}
	public String getDefaultEncode() {
		return defaultEncode;
	}
	public void setDefaultEncode(String defaultEncode) {
		this.defaultEncode = defaultEncode;
	}
	public String getUnknownLanguage() {
		return unknownLanguage;
	}
	public void setUnknownLanguage(String unknownLanguage) {
		this.unknownLanguage = unknownLanguage;
	}
}